import Monster.*;

public class Main {
  public static void main(String[] args) {
    BaseMonster rabit = Monster.create(Monster.MonsterType.Rabit);
    System.out.println(rabit.getHp());
    System.out.println("attacked");
    rabit.getAttack(4);
    System.out.println(rabit.getHp());
  }
}